<div style="font-size:17px;">
<h1> My Account </h1>

<?php
if(!empty($insertStatus))
{
	echo "<div class='regSucc'> Account information has been modified </div>";
}
if(!empty($fun))
{
	?>
    <form method="post" action="<?=$base_url?>member/my_account">
    <label class='reg'><b>Email:</b></label><input type="hidden" value="<?=$member['email_id']?>" name="email_id" /><?=$member['email_id']?><br/><br/><input type="hidden" value="<?=$member['password']?>" name="password" /><input type="hidden" value="<?=$member['pass']?>" name="pass" />
   <label class='reg'><b>Name:</b></label><input type="text" value="<?=$member['name']?>" name="name" /><br/><br/>
    <label class='reg'><b>Gender:</b></label> <input type="radio" name="gender" <?php if($member['gender']=='male') echo "checked"; ?> value="male"/>Male <input type="radio" name="gender" <?php if($member['gender']=='female') echo "checked"; ?> value="female"/>Female<br/><br/>
    
    <label class='reg'><b>Landline:</b></label><input type="text" value="<?=$member['landline']?>" name="landline" /><br/><br/>
    <label class='reg'><b>Mobile:</b></label><input type="text" value="<?=$member['mobile']?>" name="mobile" /><br/><br/>
    <label class='reg'><b>Addressline1:</b></label><input type="text" value="<?=$member['addressline1']?>" name="addressline1" /><br/><br/>
    <label class='reg'><b>Addressline2:</b></label><input type="text" value="<?=$member['addressline2']?>" name="addressline2" /><br/><br/>
     <label class='reg'><b>City:</b></label><input type="text" value="<?=$member['city']?>" name="city"/><br/><br/>
     <label class='reg'><b>State:</b></label><input type="text" value="<?=$member['state']?>" name="state"/><br/><br/>
     <label class='reg'><b>Pincode:</b></label><input type="text" value="<?=$member['pincode']?>" name="pincode"/><br/><br/>
     <input class="b21" type="submit" name="edit" value="Edit"/>
          </form>
	<?php
}
else
{
	?>   <div align="right"><a style="text-decoration:none;" href="<?=$base_url?>member/my_account/edit"> Edit </a> &nbsp;
    <a style="text-decoration:none;" href="<?=$base_url?>member/changepwd/"> Change Password </a> </div>
    <div align="right"> </div>
   
    <?php
if(!empty($member))
{
    ?>
    <label class='reg'><b>Name:</b></label><?=$member['name']?><br/><br/>
    <label class='reg'><b>Gender:</b></label><?=$member['gender']?><br/><br/>
    <label class='reg'><b>Email:</b></label><?=$member['email_id']?><br/><br/>
    <label class='reg'><b>Landline:</b></label><?=$member['landline']?><br/><br/>
    <label class='reg'><b>Mobile:</b></label><?=$member['mobile']?><br/><br/>
    <label class='reg'><b>Address:</b></label><?=$member['address']?><br/><br/>
    <?php
}
}
?>
</div>